import asyncio

loop = asyncio.get_event_loop()

async def hello():
    print("Hello")
    await asyncio.sleep(3)
    print("World")

if __name__ == "__main__":
    loop.run_until_complete(asyncio.gather(hello(), hello()))
    loop.run_until_complete(asyncio.wait([hello(), hello()]))

"""
Hello
Hello
World
World
"""